<?php

/**
 * Description of init
 *
 * @author aboc
 */
define("BO_ROOT", dirname(dirname(__FILE__)).'/');
define("IS_DEBUG", TRUE);
//判断是否安装了
if(!file_exists(BO_ROOT.'data/db.config.php')){
    header("location:/install/");
    exit;
}
include_once BO_ROOT.'data/db.config.php';
date_default_timezone_set('PRC');
include_once BO_ROOT.'source/public.fun.php';
include_once BO_ROOT.'source/bo.class.php';
if(!IS_DEBUG){
    error_reporting(0);
}


